package com.comdo.newup_loan.module.repayment_action;

import com.comdo.newup_loan.base.BaseRxPresenter;
import com.comdo.newup_loan.base.BaseView;
import com.comdo.newup_loan.model.ToXuDaiApply;

/**
 * Created by liyuan on 2017/11/7.
 */

public interface XudaiContact {
    interface View extends BaseView {
        void getFail(String failMessage);

        void getData(ToXuDaiApply toXuDaiApply);

        void goOnLoan(String result);


    }

    abstract class Presenter extends BaseRxPresenter<View> {

        public abstract void getData(int repayPlanId, int userId);


        public abstract void goOnLoan(int flowId, int userId);
    }
}
